package com.bdqn.mapper;

import com.bdqn.pojo.AppInfo;
import com.bdqn.pojo.Cha;
import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppInfoMapper {

    Long count(@Param("name")String name, @Param("zhuang") Long zhuang, @Param("ping")Long ping, @Param("one")Long one, @Param("two")Long two, @Param("three")Long three);
    List<AppInfo> getAll(@Param("name")String name, @Param("zhuang") Long zhuang, @Param("ping")Long ping, @Param("one")Long one, @Param("two")Long two, @Param("three")Long three, @Param("from") Long from, @Param("pageSize") Long pageSize);
Long addAppinfo(AppInfo appInfo);
  AppInfo getOne(@Param("id") Long id);

  Long upd(AppInfo appInfo);

  Long updZhuang(@Param("zhuang")Long zhuang,@Param("id")Integer id);

  Long deleteOne(@Param("id") Integer id);
  Long shen(@Param("id")Integer id,@Param("zhuang")Integer zhuang);

}
